import { request } from '@umijs/max';
export async function uploadFile(form) {
    return request('/file/upload', {
        method: 'POST',
        data: form,
        headers: {
            'Content-Type': 'multipart/form-data',
        }
    })
}